<template>
  <div id="insuredRecord">
    <InsuredIndex ref="insuredIndex" :infoData="infoData" :pageStatus="pageStatus" />
  </div>
</template>
<script>
import InsuredIndex from './components/InsuredIndex.vue';
export default {
  name: 'insuredRecord',
  components: {
    InsuredIndex
  },
  data() {
    return {
      infoData: {},
      pageStatus: 1,
    };
  },
  methods: {

  },
  activated() {
    if (this.$route.params.data) {
      this.infoData = this.$route.params.data;
      // console.log('insuredRecord-this.infoData', this.infoData);
      this.pageStatus = this.$route.params.pageStatus;
      this.$nextTick(() => {
        this.$refs.insuredIndex.initPageData();
      });
    }

  }
};
</script>